package com.jrx.anytxn.customer.dto.creditinfo;


import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 额度冻结/解冻/调额/cms客户端请求实体
 * @author xuhui.gao
 * @date 2020/9/9 11:16
 */
public class CreditFreezeOfCmsReq implements Serializable {

    private static final long serialVersionUID = -1061074775843557930L;
    /**
     * 自增主键
     */
    @ApiModelProperty(value="客户额度表自增主键",example="3813026")
    private String id;
    /**
     * 额度编号
     */
    @ApiModelProperty(value="额度编号",example="LIM125")
    private String limitId;
    /**
     * 中文名称
     */
    @ApiModelProperty(value="中文名称",example="客户总授信额度")
    private String chineseName;
    /**
     * 额度属性
     */
    @ApiModelProperty(value="额度属性 0 = 循环额度 1 = 非循环额度",example="0")
    private String useMode;
    /**
     * 检核标识
     */
    @ApiModelProperty(value="检核标识 0 = 不检查 1检查 用信是否检核本节点可用额度",example="0")
    private String authCheck;
    /**
     * 当前生效额度
     */
    @ApiModelProperty(value="当前生效额度",example="0")
    private String limitAmount;
    /**
     * 已使用额度
     */
    @ApiModelProperty(value="已使用额度",example="0")
    private String limitUsed;
    /**
     * 可用额度
     */
    @ApiModelProperty(value="可用额度",example="0")
    private String limitAvailable;
    /**
     * 额度类型
     */
    @ApiModelProperty(value="额度类型0 = 信用额度 1 = 抵押额度2 = 担保额度3 = 兜底额度4 = 其他",example="0")
    private String limitClass;
    /**
     * 状态	0 = 失效，1正常，2=冻结
     */
    @ApiModelProperty(value="状态0 = 失效，1正常，2=冻结",example="0")
    private String limitStatus;
    /**
     * 授信流水号
     */
    @ApiModelProperty(value="授信流水号",example="0")
    private String seqNo;
    /**
     * 租戶id
     */
    @ApiModelProperty(value="租戶id",example="101")
    private String tenantId;
    /**
     * 业务机构id
     */
    @ApiModelProperty(value="业务机构id",example="0001")
    private String organizationId;
    /**
     * 客户id
     */
    @ApiModelProperty(value="客户id",example="4983026")
    private String customerId;
    /**
     * 渠道号
     */
    @ApiModelProperty(value="渠道号",example="1")
    private String channel;
    /**
     * 冻结解冻调额标志
     */
    @ApiModelProperty(value="冻结解冻调额标志 F-冻结 R-解冻 A-调额 C-注销",example="F")
    private String flag;//  冻结(F)/解冻(R)/调额(A)

    /**
     * 调整原因
     */
    @ApiModelProperty(value="调整原因",example="信用良好")
    private String adjustReason;//调整原因

    /**
     * 用户编号
     */
    @ApiModelProperty(value="用户编号",example="用户编号")
    private String userId;

    /**
     * 合同号
     */
    @ApiModelProperty(value="合同号",example="合同号")
    private String contractNumber;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLimitId() {
        return limitId;
    }

    public void setLimitId(String limitId) {
        this.limitId = limitId;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    public String getUseMode() {
        return useMode;
    }

    public void setUseMode(String useMode) {
        this.useMode = useMode;
    }

    public String getAuthCheck() {
        return authCheck;
    }

    public void setAuthCheck(String authCheck) {
        this.authCheck = authCheck;
    }

    public String getLimitAmount() {
        return limitAmount;
    }

    public void setLimitAmount(String limitAmount) {
        this.limitAmount = limitAmount;
    }

    public String getLimitUsed() {
        return limitUsed;
    }

    public void setLimitUsed(String limitUsed) {
        this.limitUsed = limitUsed;
    }

    public String getLimitAvailable() {
        return limitAvailable;
    }

    public void setLimitAvailable(String limitAvailable) {
        this.limitAvailable = limitAvailable;
    }

    public String getLimitClass() {
        return limitClass;
    }

    public void setLimitClass(String limitClass) {
        this.limitClass = limitClass;
    }

    public String getLimitStatus() {
        return limitStatus;
    }

    public void setLimitStatus(String limitStatus) {
        this.limitStatus = limitStatus;
    }

    public String getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(String seqNo) {
        this.seqNo = seqNo;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getAdjustReason() {
        return adjustReason;
    }

    public void setAdjustReason(String adjustReason) {
        this.adjustReason = adjustReason;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getContractNumber() {
        return contractNumber;
    }

    public void setContractNumber(String contractNumber) {
        this.contractNumber = contractNumber;
    }

    @Override
    public String toString() {
        return "CreditFreezeOfCmsReq{" +
                "id='" + id + '\'' +
                ", limitId='" + limitId + '\'' +
                ", chineseName='" + chineseName + '\'' +
                ", useMode='" + useMode + '\'' +
                ", authCheck='" + authCheck + '\'' +
                ", limitAmount='" + limitAmount + '\'' +
                ", limitUsed='" + limitUsed + '\'' +
                ", limitAvailable='" + limitAvailable + '\'' +
                ", limitClass='" + limitClass + '\'' +
                ", limitStatus='" + limitStatus + '\'' +
                ", seqNo='" + seqNo + '\'' +
                ", tenantId='" + tenantId + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", customerId='" + customerId + '\'' +
                ", channel='" + channel + '\'' +
                ", flag='" + flag + '\'' +
                ", adjustReason='" + adjustReason + '\'' +
                ", userId='" + userId + '\'' +
                ", contractNumber='" + contractNumber + '\'' +
                '}';
    }
}
